<template>
  <div class="feature">
    <a href="http://www.baidu.com">
      <img src="~assets/img/feature.jpg" alt="" @load="imgLoad" />
    </a>
  </div>
</template>

<script>
export default {
  props: {
    imgUrl: String,
  },
  methods: {
    imgLoad() {
      this.$emit('img-load-finished')
    },
  },
}
</script>

<style lang="less" scoped>
.feature {
  width: 100%;
  height: 300px;
  border-bottom: 10px solid #eeeeee;
  img {
    width: 100%;
  }
}
</style>
